import request from '@/utils/request'

// 查询订单管理列表
export function listOrder(query) {
  return request({
    url: '/admin/order/list',
    method: 'get',
    params: query
  })
}

// 查询订单管理详细
export function getOrder(id) {
  return request({
    url: '/admin/order/' + id,
    method: 'get'
  })
}

// 查询区域订单统计
export function getOrderStatisticsByRegion(params) {
  return request({
    url: '/admin/order/statistics/region',
    method: 'get',
    params
  })
}
